//
//  GYEmoticonModel.swift
//  Weibo
//
//  Created by vane on 16/8/19.
//  Copyright © 2016年 apple. All rights reserved.
//

import UIKit

class GYEmoticonModel: NSObject {
    
    var chs: String?
    
    var png: String?
    
    var type: String?{
        didSet{
            isEmoji = (type == "1")
        }
    }
    var code: String?
    
    var isEmoji: Bool = false
    
    var path: String?
    
    init(dict:[String:AnyObject]) {
        
        super.init()
        
        setValuesForKeysWithDictionary(dict)
    }
    
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {
        
    }
}
